package com.example.project.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum DelEnum {

    DEL("Y","已删除"),
    UN_DEL("N","未删除")
    ;
    @EnumValue // 入库
    private String del_flag;
    @JsonValue //
    public String discription;

    DelEnum(String del_flag, String discription) {
        this.del_flag = del_flag;
        this.discription = discription;
    }


}
